<template>
	<view>
		{{noticeData.noticeContent}}
	</view>
</template>

<script setup>
	import{onLoad} from '@dcloudio/uni-app'
	import{apiGetNoticeById} from '@/api/articleApi.js'
	import { ref } from 'vue'
	onLoad((e) => {
		const {
			noticeId = null
		} = e	
	getApiGetNoticeById(noticeId)
	})
	const noticeData = ref({})
async function getApiGetNoticeById(noticeId){
	const {data} = await apiGetNoticeById(noticeId)
	noticeData.value = data
}
</script>

<style>
	       
</style>
